package com.imax.center.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

public interface MinioService {

    String upload(MultipartFile file) throws Exception;

    String upload(MultipartFile file, String objectName) throws Exception;

    InputStream download(String objectName) throws Exception;

    void deleteFile(String objectName) throws Exception;

}
